package com.yyh;

public class Abstract3 {
    public static void main(String[] args) {

    }
}
class Father{
    private int num = 10;
    private int Funum = 100;
    public void method(){
        System.out.println("父类方法");
    }
    public void fuMethod(){
        System.out.println("父类方法2");
    }
}
class Son extends Father{
    private int num = 20;
    private int Sonnum = 200;
    public void method(){
        System.out.println("子类方法");
    }
    public void ziMethod(){
        System.out.println("子类方法 ");
    }
}
